#ifndef EDITADDITIONALABILITIESFORM_H
#define EDITADDITIONALABILITIESFORM_H

#include <QDialog>
#include "additionalability.h"
#include <QDomElement>

namespace Ui {
    class EditAdditionalAbilitiesForm;
}

class EditAdditionalAbilitiesForm : public QDialog
{
    Q_OBJECT

public:
    explicit EditAdditionalAbilitiesForm(QWidget *parent = 0, AdditionalAbility * selectedAbility = NULL);
    ~EditAdditionalAbilitiesForm();
    AdditionalAbility * getAdditionalAbility();
    QString getAdditionalAbilityText();

private:
    Ui::EditAdditionalAbilitiesForm *ui;

    AdditionalAbility *m_AdditionalAbility;
    void appendColorToPriceLine(QString);
    void enableProperty(QString, bool);
    void CreateMenus();

public slots:
    void btnWhiteClicked();
    void btnBlackClicked();
    void btnBlueClicked();
    void btnRedClicked();
    void btnGreenClicked();
    void btnXClicked();
    void btnNoneClicked();
    void chkTapClicked(bool);
    void chkSacrifiseClicked(bool);

    void SaveChanges();

    void ActionsMenuTriggered(QAction*);
};

#endif // EDITADDITIONALABILITIESFORM_H
